package com.xdf.docmanagementsystem.enums;

/**
 * @program: doc-management-system
 * @description: 员工字段
 * @author: Zhang
 * @create: 2020-06-27 16:13
 **/
public enum EmployeeFieldEnum {
    departmentId(0, "departmentId", "部门编号(必须是部门编号)"),
    empNumber(1, "empNumber", "人员工号"),
    empName(2, "empName", "员工姓名"),
    empSex(3, "empSex", "性别:男:1;女:0"),
    birthPlace(4, "birthPlace", "籍贯"),
    identityCard(5, "identityCard", "身份证号"),
    marryState(6, "marryState", "婚姻状态"),
    nation(7, "nation", "民族"),
    entryDate(8, "entryDate", "入职时间"),
    leaveDate(9, "leaveDate", "离职时间"),
    telephoneNo01(10, "telephoneNo01", "电话号码1"),
    telephoneNo02(11, "telephoneNo02", "电话号码2"),
    endowmentInsurance(12, "endowmentInsurance", "养老保险号码"),
    housingProvidentFund(13, "housingProvidentFund", "住房公积金编号"),
    identityCardAddress(14, "identityCardAddress", "身份证地址"),
    currentAddress(15, "currentAddress", "现住址"),
    other01(16, "other01", "其他1"),
    other02(17, "other02", "其他2"),
    other03(18, "other03", "其他3");
    private Integer serialNo;
    private String fieldName;
    private String title;

    public Integer getSerialNo() {
        return serialNo;
    }

    public String getFieldName() {
        return fieldName;
    }

    public String getTitle() {
        return title;
    }

    EmployeeFieldEnum(Integer serialNo, String fieldName, String title) {
        this.serialNo = serialNo;
        this.fieldName = fieldName;
        this.title = title;
    }
}
